-- CALC_RELIC_ROB_BONUS

-- 掠夺遗迹奖励
return function(scrap, money, desc)
    local ret = {};
    
    -- 光环加成
    local prop = PropM.combine(ME.user, "rob_bonus", 1);
    scrap = PropM.apply(prop, scrap or 0);
    money = PropM.apply(prop, money or 0);
    
    -- 如果是描述要取的，则没有也要显示0
    if (scrap and scrap > 0) or desc then
        table.insert(ret, { 1, 10000, scrap or 0, });
    end

    if (money and money > 0) or desc then
        table.insert(ret, { 2, "money", money or 0, });
    end

    return ret;
end
